package com.atguigu.tingshu.common.constant;

/**
 * 消息队列 常量类
 */
public class RabbitConstant {

    /**
     * ========================================================
     * +++
     * ========================================================
     */

    /**
     * 专辑服务 - 交换机
     */
    public static final String ALBUM_EXCHANGE = "maoer.album.exchange";

    /**
     * 专辑上架 - 队列
     */
    public static final String ALBUM_UP_QUEUE = "album.up.queue";

    /**
     * 专辑下架 - 队列
     */
    public static final String ALBUM_DOWN_QUEUE = "album.down.queue";

    /**
     * 专辑上架 - 路由键
     */
    public static final String ALBUM_UP_RK = "album.up.routing.key";

    /**
     * 专辑下架 - 路由键
     */
    public static final String ALBUM_DOWN_RK = "album.down.routing.key";

    /**
     * ========================================================
     * +++
     * ========================================================
     */

    /**
     * 专辑/声音统计数据 - 交换机
     */
    public static final String STAT_UPDATE_EXCHANGE = "stat.update.exchange";

    /**
     * 专辑/声音播放量更新 - 队列
     */
    public static final String STAT_UPDATE_QUEUE = "stat.update.queue";

    /**
     * 专辑/声音播放量更新 - 路由键
     */
    public static final String STAT_UPDATE_RK = "stat.update.rk";

    /**
     * ========================================================
     * +++
     * ========================================================
     */

    /**
     * 订单交换机
     */
    public static final String ORDER_EXCHANGE = "maoer.order.exchange";

    /**
     * 扣减余额队列
     */
    public static final String REDUCE_ACCOUNT_QUEUE = "reduce.account.queue";

    /**
     * 扣减余额路由键
     */
    public static final String REDUCE_ACCOUNT_RK = "reduce.account.rk";

    /**
     * 释放余额队列
     */
    public static final String RELEASE_ACCOUNT_QUEUE = "release.account.queue";

    /**
     * 释放余额路由键
     */
    public static final String RELEASE_ACCOUNT_RK = "release.account.rk";

    /**
     * 订单支付成功队列
     */
    public static final String ORDER_PAID_QUEUE = "order.paid.queue";

    /**
     * 订单支付成功路由键
     */
    public static final String ORDER_PAID_RK = "order.paid.rk";
}
